package cur.nature.admin.model.po;

import cur.nature.framework.mvc.base.BasePO;
import cur.nature.tinyorm.core.annotation.Column;
import cur.nature.tinyorm.core.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 菜单分类表 PO
 * 作者：Auto Generate By wujian
 * 生成日期：2023-07-09 18:09:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table(name = "admin_sys_resource", desc = "菜单分类表")
public class Admin_ResourcePO extends BasePO {

   @Column(name = "parent_id",   desc = "父类id")
   private String  parentId;

   @Column(name = "code",   desc = "资源代码")
   private String  code;

   @Column(name = "name",   desc = "资源名称: 部门管理")
   private String  name;

   @Column(name = "type",   desc = "资源类型: menu-菜单,res-资源")
   private String  type;

   @Column(name = "path",   desc = "资源路径:/system/dept")
   private String  path;

   @Column(name = "comp_path",   desc = "组件路径: /@/views/system/dept/index.vue")
   private String  compPath;

   @Column(name = "state",   desc = "状态: 0-停用，1-启用")
   private Integer  state;

   @Column(name = "image",   desc = "图标url")
   private String  image;

   @Column(name = "sort",   desc = "排序")
   private Integer  sort;

}